home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5905 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: susx.ac.uk!mattst
  2. From: mattst@cogs.susx.ac.uk (Matthew Stanfield)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: How do i make graphics in c?
  5. Date: 21 Feb 1996 21:09:26 GMT
  6. Organization: University of Sussex
  7. Distribution: world
  8. Message-ID: <4gg1m6$4li@infa.central.susx.ac.uk>
  9. References: <4ftvj1$88b@wpg-01.escape.ca> <14FEB199622413585@erich.triumf.ca>
  10. NNTP-Posting-Host: tsunx.ctn.cogs.susx.ac.uk
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. P.Bennett (bennett@erich.triumf.ca) wrote:
  14. : In article <4ftvj1$88b@wpg-01.escape.ca>, Andrew Carr <acarr@escape.ca> writes...
  15. : >I was wondering how do i make graphics (like line, staggered line, etc)
  16. : >in C or C++? I currently use Turbo C++ version 3.0 for all my C and C++
  17. : >programming. When i try to do graphics it always gives me the same
  18. : >error "Linking error" and it doesn't compile. I did everything right
  19. : >and i used all the right syntaxes but i still could not get it to work.
  20.  
  21. : You probably have to tell the linker to search the graphics library.
  22. : #including <graphics.h> just tells the compiler what the graphics functions
  23. : look like - it doesn't tell the linker to find them!
  24.  
  25. : Under Options/Linker (or somewhere in that vicinity) there should be a tick box
  26. : to tell the linker to search the graphics library.
  27.  
  28. Also check that the directory is pointing to the right directory. Mine wasn't
  29. and it confused me for a while.
  30.  
  31. Matt
  32.